
/*
//    calculates the subject area given the parameters
*/

// set up inlets/outlets
outlets = 2;
inlets = 2;

// global varables and code
var mystring = "test";
var split1 = "test";
var split2 = 1.0;


function splitit(s)
{
    mystring = s;
    split1 = mystring.slice(0,1);
    split2 = parseFloat(mystring.slice(1,10));
    
    outlet(0, split1);
    outlet(1, split2);
    
}

